package com.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ Author xsd
 * @ crate time 2020/6/23 17:45
 * @ 描述
 * zj: set注入 IOC缓存 getbean、赋值
 */
@Service
public class CirDeService1 {

    //    @Resource
    private CirDeService cirDeService;

//    @Autowired
//    public CirDeService1(CirDeService cirDeService) {
//        this.cirDeService = cirDeService;
//    }

    @Autowired
    public void setCirDeService(CirDeService cirDeService) {
        this.cirDeService = cirDeService;
    }

}
